﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibrary.DataModel.WorkFlow
{
    public class WfTemplete
    {
        /// <summary>
        /// 模板编码
        /// </summary>
        
        public long templeteCode { set; get; }

        /// <summary>
        /// 模板窗体
        /// </summary>
        
        public long templeteForm { set; get; }

        /// <summary>
        /// 模板名称
        /// </summary>
        
        public string templeteName { set; get; }

        /// <summary>
        /// 模板定义
        /// </summary>
        
        public string templeteDefine { set; get; }

        /// <summary>
        /// 模板规则
        /// </summary>
        
        public string templeteRul { set; get; }

        /// <summary>
        /// 模板布局
        /// </summary>
        
        public string templeteLay { set; get; }

        /// <summary>
        /// 模板时间
        /// </summary>
        
        public string templeteTime { set; get; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        
        public string templeteUTime { set; get; }

        /// <summary>
        /// 定义人
        /// </summary>
        
        public long templeteUser { set; get; }

        /// <summary>
        /// 更新人
        /// </summary>
        
        public long templeteUUser { set; get; }

        /// <summary>
        /// 备注
        /// </summary>
        
        public string templeteBz { set; get; }

        /// <summary>
        /// 可用标志
        /// </summary>
        
        public string templeteKybz { set; get; }

        /// <summary>
        /// 工作流类型
        /// </summary>
        
        public int wfType { set; get; }

        /// <summary>
        /// 流程定义版本
        /// </summary>
        
        public int wfVersion { set; get; }

        ///// <summary>
        ///// 是否需要指定第一步的处理人
        ///// </summary>
        //
        //public string isZdFirstTask { set; get; }

        //帐套标志
        
        public string ztbz { set; get; }

        /// <summary>
        /// 创建者姓名
        /// </summary>
        
        public string temUserName { set; get; }

        /// <summary>
        /// 分类名称
        /// </summary>
        
        public string wfTypeName { set; get; }
        /// <summary>
        /// 表单名称
        /// </summary>
        
        public string wfFormName { set; get; }

        /// <summary>
        /// 表单名称
        /// </summary>
        
        public int wfFormVersion { set; get; }

    }

    public class WfTempleteQuery
    {

        /// <summary>
        /// 模板名称
        /// </summary>
        
        public string templeteName { set; get; }

        /// <summary>
        /// 模板创建时间
        /// </summary>
        
        public string templeteSTime { set; get; }

        /// <summary>
        /// 模板创建人
        /// </summary>
        
        public long templeteUser { set; get; }

        /// <summary>
        /// 工作流类型
        /// </summary>
        
        public int wfType { set; get; }

        /// <summary>
        /// 模板可用标志
        /// </summary>
        
        public string templeteKybz { set; get; }

        /// <summary>
        /// 模板创建时间End
        /// </summary>
        
        public string templeteEndTime { set; get; }

        //帐套标志
        
        public string ztbz { set; get; }

    }
}
